package methodObj;

public class Student {
    private String name;
    private int score;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        score = score;
    }

    public Student() {    }
    public Student(String name,int score) {
        this.name=name;
        this.score=score;
    }

}
